package com.kavin.network;

import androidx.lifecycle.Lifecycle;
import androidx.lifecycle.LifecycleObserver;
import androidx.lifecycle.OnLifecycleEvent;

public interface MyLifecycleEventObserver extends LifecycleObserver {

//    @OnLifecycleEvent(Lifecycle.Event.ON_START)
//    public void onStart();
//
//    @OnLifecycleEvent(Lifecycle.Event.ON_RESUME)
//    public void onResume();
//
//    @OnLifecycleEvent(Lifecycle.Event.ON_PAUSE)
//    public void onPause();

    @OnLifecycleEvent(Lifecycle.Event.ON_DESTROY)
    void onDestroy();
}